﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CalculadoraEficiente
{
    public class Division : Operacion
    {
        public double Divisor { get; set; }
        public double Dividendo { get; set; }

        public Division(double divisor, double dividendo)
        {
            this.Divisor = divisor;
            this.Dividendo = dividendo;
        }

        public override double Operar()
        {
            return (this.Divisor / this.Dividendo);
        }
    }
}
